package com.aizuda.boot.modules.business.contract.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author sangyirong
 * @ClassName ContractWorkflowListPageDTO
 * @Version 1.0
 * @Date 2025/5/21 10:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "合同流程列表分页数据")
public class ContractWorkflowListPageDTO {

    @Schema(description = "合同流程ID")
    private Long id;

    @Schema(description = "合同流程名称")
    private String workflowName;

    @Schema(description = "合同流程类型ID")
    private Integer typeId;

    @Schema(description = "合同流程范围")
    private List<String> scope;

    @Schema(description = "合同流程是否启用")
    private Boolean isEnabled;

    @Schema(description = "合同流程是否发布")
    private Boolean isPublished;

    @Schema(description = "合同流程更新时间")
    private Date updatedAt;

    @Schema(description = "适用部门")
    private List<String > department;

    @Schema(description = "流程定义ID")
    private Long processId;

    @Schema(description = "流程定义 key 唯一标识")
    private String processKey;

    @Schema(description = "流程定义名称")
    private String processName;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "系统租户标识")
    private String sysTenantKey;

    @Schema(description = "租户名称")
    private String tenantName;

    @Schema(description = "关联的法人名称")
    private List<String> legalName;
}
